export default defineAppConfig({
  pages: [
    'pages/index/index',
  ],
  subPackages: [
    {
      'root': 'packageA',
      'pages': [
        'pages/findPage/index',
        'pages/mypage/index',
        'pages/order/perorder',
        'pages/order/index',
        'pages/mypage/settleIn',
        'pages/order/orderDetails',
        'pages/detail/index',
        'pages/orderList/index',
        'pages/feedback/index',
        'pages/manage/index',
        'pages/join/index',
        'pages/help/index',
        'pages/help/detail',
        'pages/refund/index',
        'pages/couponList/index',
        'pages/list/index',
        'pages/serOrderList/index',
        'pages/manage/settleIn',
        'pages/serOrderList/details'
      ]
    }
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  permission: {
    'scope.userLocation': {
      desc: '后台将实时获取你的位置信息'
    },
    // 'scope.userLocationBackground': {
    //   "desc": "获取您的后台位置"
    // },
  },
  requiredBackgroundModes: ["audio", "location"],
  requiredPrivateInfos: ["getLocation", "onLocationChange", "startLocationUpdate", "startLocationUpdateBackground", "chooseLocation"],
  __usePrivacyCheck__: true,//开启隐私校验
})
